package entity;

import entity.offer.Offer;

import java.util.List;

public class CounterMessage extends Message<Integer, Offer, Integer>{

    private RoomInfo info;
    private String comment;
    private List<Integer> speakers;

    public CounterMessage(int playerNum, int roomNum){
        this.setSource(playerNum);
        this.setDestination(roomNum);
    }

    public RoomInfo getInfo() {
        return info;
    }

    public void setInfo(RoomInfo info) {
        this.info = info;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public List<Integer> getSpeakers() {
        return speakers;
    }

    public void setSpeakers(List<Integer> speakers) {
        this.speakers = speakers;
    }
}
